﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Mabalacat.CPS.DataAccess.DataObjects
{
    public class Position : EntityBase<int>
    {
        [Required]
        [StringLength(50)]
        public string Code { get; set; }

        [StringLength(50)]
        public string Name { get; set; }

        [StringLength(50)]
        public string Description { get; set; }
        
        #region Relation
        public virtual ICollection<Employee> Employees { get; set; }        
        #endregion
    }   
}
